package org.cn.osiris.user.service;

import org.cn.osiris.user.domain.Logininfo;
import org.cn.osiris.user.domain.User;
import org.cn.osiris.basic.service.IBaseService;
import org.cn.osiris.user.domain.UserDto;

import javax.mail.MessagingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author devil
 * @since 2022-09-14
 */
public interface IUserService extends IBaseService<User> {

    void phoneRegister(UserDto userDto);

    void registerEmail(UserDto userDto) throws MessagingException;

    void active(long id);
}
